﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace In.Api.Dto.HisWs
{
    /// <summary>
    /// 预结算处理获得支付金额
    /// </summary>
    public class Request4ClinPayPrepare
    {
        /// <summary>
        /// 病人唯一ID
        /// </summary>
        public string HosPatId { get; set; }

        /// <summary>
        /// 门诊号
        /// </summary>
        public string ClinNo { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdCard { get; set; }

        /// <summary>
        /// 诊疗卡号
        /// </summary>
        public string CardNo { get; set; }

        /// <summary>
        /// 本次缴费的处方的唯一编号序列
        /// </summary>
        public string RecipeIds { get; set; }

        /// <summary>
        /// 收费员ID
        /// </summary>
        public string CashierId { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        public string MachineId { get; set; }

        /// <summary>
        /// 是否医保：1为医保  0为自费
        /// </summary>
        public string IsSb { get; set; }

        public List<Request4ClinPayPrepareSubRecipeIdInfo> Request4ClinPayPrepareSubRecipeIdInfoList { get; set; } 
    }

    public class Request4ClinPayPrepareSubRecipeIdInfo
    {
        /// <summary>
        /// 病人每次就诊的ID
        /// </summary>
        public string FlowNo { get; set; }

        /// <summary>
        /// 处方Id
        /// </summary>
        public string RecipeId { get; set; }

        /// <summary>
        /// 费用类别
        /// </summary>
        public string PayType { get; set; }
    }
}
